package com.jjclub.service.impl;

import com.jjclub.entity.Test;
import com.jjclub.mapper.TestMapper;
import com.jjclub.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.SQLException;
import java.util.List;

/**
 * @Classname TestServletImpl
 * @Description TODO
 * @Date 2019/10/11 11:48
 * @Created by jq
 */
@Service
public class TestServletImpl implements TestService {

    @Autowired
    private TestMapper testMapper;
    @Override
    public Test getList() throws SQLException {
        return testMapper.getMessageById("11");
    }
}
